import * as en from  './en';
import * as zh from  './en';

//@ts-ignore
window['en'] = en;
//@ts-ignore
window['zh'] = zh;

export const i18n = function(lang: 'zh' | 'en' | ''){
  //@ts-ignore
  return window[lang]
};